Mollie\WooCommerce\Gateway\GatewayModule B

Total Complexity 87
Dependencies 34
Dependents 1
Total lines 674
Lines of code 512
Logical lines of code 300
Comment lines 78
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
run()
A
34 10 107
services()
A
33 8 119
maybeDisableApplePayGateway()
A
48 13 31
maybeDisableBankTransferGateway()
A
52 13 23
instantiatePaymentMethodGateways()
A
37 6 87
maybeDisableBillieGateway()
A
56 9 18
disableMollieOnPaymentMethodChange()
S
60 7 12
organizationBillingFieldMandatory()
S
51 5 29
instantiatePaymentMethods()
S
49 3 35
mollieApplePayDirectHandling()
S
61 3 11
molliePayPalButtonHandling()
S
62 3 11
setOrderPaidByOtherGateway()
S
62 3 10
disableSEPAInCheckout()
S
71 2 6
gatewaySurchargeHandling()
S
81 1 3
buildPaymentMethod()
S
65 1 10